<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>

<td colspan="20" align="right" class="td-page">
	共${recordCount}条记录&nbsp;
	<s:if test="page != 1">
		<a href="${pageUrl}?page=${page-1}">&nbsp;上一页&nbsp;</a>
	</s:if>
	<s:else>
		<a href="#">上一页</a>
	</s:else>
	<s:iterator var="i" begin="1" end="pageCount">
		<s:if test="page == #i">
			<a class="current" href="#">&nbsp;${i}&nbsp;</a>
		</s:if>
		<s:else>
			<a href="${pageUrl}?page=${i}">&nbsp;${i}&nbsp;</a>
		</s:else>
	</s:iterator>

	<s:if test="page != pageCount">
		<a href="${pageUrl}?page=${page+1}">&nbsp;下一页&nbsp;</a>
	</s:if>
	<s:else>
		<a href="#">下一页</a>
	</s:else>
</td>